package com.hamster.crm.service;

import com.hamster.crm.pojo.Materiel;
import com.hamster.crm.pojo.MaterielConfig;
import com.hamster.crm.util.PageResult;

import java.util.List;

/**
 * @author Tarry
 * @create 2019/12/24 10:11
 */
public interface MaterielService {
    void insertConfig(MaterielConfig materielConfig);

    void deleteConfig(List<String> ids);

    List<MaterielConfig> listConfigs();

    void insertMateriel(Materiel materiel);

    void updateMateriel(Materiel materiel);

    void deleteMateriel(List<String> ids);

    PageResult<Materiel> listMateriels(Integer pageSize, Integer currentPage, String title);

    List<Materiel> queryAllMateriel();
}
